<script>
	export default {

		onLaunch: function() {
			wx.getSetting({
				success(res) {
					if (!res.authSetting['scope.userLocation']) {
						wx.authorize({
							scope: 'scope.userLocation',
							success() {}
						})
					}
				}
			})
		},
		onShow: function() {

		},
		onLoad(opdata) {},
		onHide: function() {},
		methods: {}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "uview-ui/index.scss";

	view {
		box-sizing: border-box !important;
	}

	.nothing {
		text-align: center;
		margin-top: 50vw;

		image {
			width: 400rpx;
			position: relative;
			z-index: 99;
			height: 330rpx;
		}
	}
</style>